import java.util.Arrays;
/*
 * @Description: 
 * @version: 
 * @Author: XiaoQiYan
 * @Date: 2021-08-22 16:18:00
 * @LastEditors: XiaoQiYan
 * @LastEditTime: 2021-08-22 16:22:07
 */

public class ArraysTest {
    public static void main(String[] args) {
        int[] arr = { 6, 17, 92, 32, 58, 22, 84, 66, 36, 33 };
        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));
        System.out.println(Arrays.binarySearch(arr,33));
    }
}
